using System;
using Me.Prettyprint.Cassandra.Serializers;
using Me.Prettyprint.Hector.Api;

namespace Me.Prettyprint.Hector.Api.Exceptions
{
    /// <summary>
    /// Describes a serialization exception. Serialization exceptions may happen 
    /// when Serializer#fromBytes(byte[]) encounters a value it's unable to interpret
    /// to it's target object. For example an {@link ObjectSerializer} may be unable
    /// to deserialize a java object back to its class if the object it of the wrong 
    /// format or the target class is not on the classpath.
    /// </summary>
	[Serializable]
	public class HectorSerializationException:HectorException
	{
		
		public HectorSerializationException(System.String msg):base(msg)
		{
		}
		
		public HectorSerializationException(System.Exception t):base(t)
		{
		}
		
		public HectorSerializationException(System.String msg, System.Exception t):base(msg, t)
		{
		}
	}
}